﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Model;
using ViewInterfaces;
/// <summary>
/// Created By : Nguyen Dinh Tuong Uyen
/// Created Date : 02/22/2012
/// Description : Presenter for Showing top 4 news
/// </summary>
namespace Presenter
{
    public class ShowAllNewsPresenter:ShowNewsBasePresenter
    {
        public ShowAllNewsPresenter(INewsView p_iView, NewsDAO p_newsDao):base(p_iView,p_newsDao)
        {
        }

        public override void Init()
        {
            view.dt = newsDao.GetAllNews();
        }
    }
}
